﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Dog : Animal, jiekou3
    {
        public Dog(string name) : base(name)
        {

        }

        public void eat()
        {
            Console.WriteLine("我是{0}，能吃", base.Name);
        }
        public void pa()
        {
            Console.WriteLine("不能爬");
        }
        public void swim()
        {
            Console.WriteLine("能游泳");
        }
    }
}
